package com.mf.entity.bo;

import lombok.ToString;

import java.io.Serial;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.Getter;
import lombok.Setter;

/**
 * @author mf
 * @since 2024-10-17
 */
@Getter
@ToString
@Setter
@TableName("basic_socket")

public class BasicSocketBo implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 消息
     */
    private String message;

    /**
     * 消息类型
     */
    private String type;

    /**
     * 通知的用户(没有值时通知所有的用户)
     */
    private String userId;

    /**
     * 通知的标题
     */
    private String msgTitle;

    private LocalDateTime createdTime;

    private LocalDateTime updateTime;

    /**
     * 0:未消费；1:已消费
     */
    private Integer status;
}